package com.zhiyou.app.shop.manager.dao.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * UserDetail entity. @author MyEclipse Persistence Tools
 */

public class UserDetail  extends BasePojo {

	// Fields
	private static final long serialVersionUID = 1L;
	private String loginName;
	private String password;
	private String fullName;
	private Short sex;
	private String handphone;
	private String email;
	private String address;
	private Date createDate;
	private Boolean isDelete = Boolean.FALSE;
	private Short role;
	private Set goodses = new HashSet(0);
	private Set shops = new HashSet(0);

	// Constructors

	/** default constructor */
	public UserDetail() {
	}

	/** minimal constructor */
	public UserDetail(String loginName, String password, String fullName) {
		this.loginName = loginName;
		this.password = password;
		this.fullName = fullName;
	}

	/** full constructor */
	public UserDetail(String loginName, String password, String fullName,
			Short sex, String handphone, String email, String address,
			Short role, Set goodses, Set shops) {
		this.loginName = loginName;
		this.password = password;
		this.fullName = fullName;
		this.sex = sex;
		this.handphone = handphone;
		this.email = email;
		this.address = address;
		this.role = role;
		this.goodses = goodses;
		this.shops = shops;
	}

	// Property accessors

	public UserDetail(String userId) {
		super(userId);
	}

	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFullName() {
		return this.fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public Short getSex() {
		return this.sex;
	}

	public void setSex(Short sex) {
		this.sex = sex;
	}

	public String getHandphone() {
		return this.handphone;
	}

	public void setHandphone(String handphone) {
		this.handphone = handphone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Short getRole() {
		return this.role;
	}

	public void setRole(Short role) {
		this.role = role;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Boolean getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Boolean isDelete) {
		this.isDelete = isDelete;
	}

	public Set getGoodses() {
		return this.goodses;
	}

	public void setGoodses(Set goodses) {
		this.goodses = goodses;
	}

	public Set getShops() {
		return this.shops;
	}

	public void setShops(Set shops) {
		this.shops = shops;
	}

}